package main

import "fmt"

func Ymain() {
	type Map map[string][]int
	m := make(Map)
	s := []int{1, 2}
	s = append(s, 3)
	fmt.Printf("%+v len:%v cap:%v\n", s, len(s), cap(s))
	m["q1mi"] = s
	s = append(s[:1], s[2:]...)
	fmt.Printf("%+v len:%v cap:%v\n", s, len(s), cap(s))
	fmt.Printf("%+v len:%v cap:%v\n", m["q1mi"], len(m["q1mi"]), cap(m["q1mi"]))
}
